Skip to content

chore(deps): bump criterion from 0.5.1 to 0.8.2#96

Merged
JayanAXHF merged 1 commit intomainfrom
dependabot/cargo/criterion-0.8.2
Mar 20, 2026
Merged

chore(deps): bump criterion from 0.5.1 to 0.8.2#96
JayanAXHF merged 1 commit intomainfrom
dependabot/cargo/criterion-0.8.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 19, 2026

Bumps criterion from 0.5.1 to 0.8.2.

Release notes

Sourced from criterion's releases.

criterion-plot-v0.8.2

Other

  • Update Readme

criterion-v0.8.2

Fixed

  • don't build alloca on unsupported targets

Other

  • (deps) bump crate-ci/typos from 1.40.0 to 1.43.0
  • Fix panic with uniform iteration durations in benchmarks
  • Update Readme
  • Exclude development scripts from published package

criterion-plot-v0.8.1

Fixed

  • Typo

criterion-v0.8.1

Fixed

  • Homepage link

Other

  • (deps) bump crate-ci/typos from 1.23.5 to 1.40.0
  • (deps) bump jontze/action-mdbook from 3 to 4
  • (deps) bump actions/checkout from 4 to 6

criterion-plot-v0.8.0

No release notes provided.

criterion-v0.8.0

BREAKING

  • Drop async-std support

Changed

  • Bump MSRV to 1.86, stable to 1.91.1

Added

  • Add ability to plot throughput on summary page.
  • Add support for reporting throughput in elements and bytes - Throughput::ElementsAndBytes allows the text summary to report throughput in both units simultaneously.
  • Add alloca-based memory layout randomisation to mitigate memory effects on measurements.

... (truncated)

Changelog

Sourced from criterion's changelog.

0.8.2 - 2026-02-04

Fixed

  • don't build alloca on unsupported targets

Other

  • (deps) bump crate-ci/typos from 1.40.0 to 1.43.0
  • Fix panic with uniform iteration durations in benchmarks
  • Update Readme
  • Exclude development scripts from published package

0.8.1 - 2025-12-07

Fixed

  • Homepage link

Other

  • (deps) bump crate-ci/typos from 1.23.5 to 1.40.0
  • (deps) bump jontze/action-mdbook from 3 to 4
  • (deps) bump actions/checkout from 4 to 6

0.8.0 - 2025-11-29

BREAKING

  • Drop async-std support

Changed

  • Bump MSRV to 1.86, stable to 1.91.1

Added

  • Add ability to plot throughput on summary page.
  • Add support for reporting throughput in elements and bytes - Throughput::ElementsAndBytes allows the text summary to report throughput in both units simultaneously.
  • Add alloca-based memory layout randomisation to mitigate memory effects on measurements.
  • Add doc comment to benchmark runner in criterion_group macro (removes linter warnings)

Fixed

  • Fix plotting NaN bug

Other

  • Remove Master API Docs links temporarily while we restore the docs publishing.

... (truncated)

Commits
  • 7f0d745 chore: release v0.8.2
  • 4a467ce chore(deps): bump crate-ci/typos from 1.40.0 to 1.43.0
  • b277a75 Fix panic with uniform iteration durations in benchmarks
  • 828af14 fix: don't build alloca on unsupported targets
  • b01316b Update Readme
  • 4c02a3b Exclude development scripts from published package
  • e4e06df chore: release v0.8.1
  • aa548b9 fix: Homepage link
  • 950c3b7 fix: Typo
  • 7e3e50c chore(deps): bump crate-ci/typos from 1.23.5 to 1.40.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from 0.5.1 to 0.8.2.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](criterion-rs/criterion.rs@0.5.1...criterion-v0.8.2)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.8.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 19, 2026
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 19, 2026

Greptile Summary

This PR bumps criterion from 0.5.1 to 0.8.2 (a dev-dependency used only for benchmarks), with no impact on production builds. The existing benchmark code in benches/ui_hotspots.rs uses only stable criterion APIs (BenchmarkId, Criterion, Throughput, black_box, criterion_group!, criterion_main!) that remain fully compatible with the new version.

Key changes introduced by this bump:

  • New transitive dependencies: alloca 0.4.0 (stack memory layout randomisation for more reliable benchmark measurements) and page_size 0.6.0.
  • itertools upgraded from 0.10.5 to 0.13.0; is-terminal, hermit-abi, once_cell, and serde_derive removed as transitive deps.
  • criterion-plot upgraded from 0.5.0 to 0.8.2.
  • The only breaking change between 0.5.1 and 0.8.2 (async-std support removed in 0.8.0) is not applicable here since no async benches are used.
  • MSRV for criterion 0.8.x is Rust 1.86; the CI workflow (rust.yml) uses ubuntu-latest without a pinned toolchain, so it will pick up a current stable Rust that satisfies this requirement.

Important Files Changed

Filename Overview
Cargo.toml Bumps criterion dev-dependency from 0.5.1 to 0.8.2; no production dependencies are affected.
Cargo.lock Lock file updated: criterion and criterion-plot bumped, itertools upgraded to 0.13.0, new deps alloca 0.4.0 and page_size 0.6.0 added, is-terminal and hermit-abi removed.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[criterion 0.5.1] -->|bump| B[criterion 0.8.2]
    B --> C[alloca 0.4.0\nnew dep]
    B --> D[page_size 0.6.0\nnew dep]
    B --> E[itertools 0.13.0\nupgraded]
    B --> F[criterion-plot 0.8.2\nupgraded]
    A --> G[is-terminal 0.4.17\nremoved]
    A --> H[hermit-abi 0.5.2\nremoved]
    A --> I[once_cell\nremoved]
    A --> J[itertools 0.10.5\nremoved]
Loading

Last reviewed commit: "chore(deps): bump cr..."

@JayanAXHF JayanAXHF merged commit 8069da1 into main Mar 20, 2026
4 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/criterion-0.8.2 branch March 20, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant